Skip to content

enum SpirvTargetEnv containing all available targets#311

Closed
Firestar99 wants to merge 9 commits intomainfrom
target_env_enum
Closed

enum SpirvTargetEnv containing all available targets#311
Firestar99 wants to merge 9 commits intomainfrom
target_env_enum

Conversation

@Firestar99
Copy link
Member

@Firestar99 Firestar99 commented Jul 1, 2025

Requires #357

cargo-gpu fixup: Rust-GPU/cargo-gpu#92

List all available targets in enum SpirvTargetEnv and centralize parsing, to_string and target spec references there. Changes SpirvBuilder.target from String to the new enum and makes SpirvBuilder::new accept both String and the new enum to reduce breakage as much as possible.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants